package cn.webdai.service.impl;

import cn.webdai.dao.UserMapper;
import cn.webdai.pojo.User;
import cn.webdai.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 戴金华
 * @date 2019-12-04 21:45
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;



    @Override
    public List<User> findAll() {
        return userMapper.selectAll();
    }
}
